package com.pmcc.cj.entity;

import com.pmcc.core.entity.UUIDEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by tomas on 2020/10/5.
 */
@Entity
@Table(name = "cj_order_detail")
public class CjOrderDetail extends UUIDEntity {
    @Column(name = "order_id")
    private String orderId;
    @Column(name = "commodity_id")
    private String commodityId;//子商品id
    @Column(name = "number")
    private Integer number;//子商品规格
    @Column(name = "name")
    private String name;//名称

    //商品类型  0：云商城    1：云飞防
    @Column(name = "fettle")
    private Integer fettle;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getFettle() {
        return fettle;
    }

    public void setFettle(Integer fettle) {
        this.fettle = fettle;
    }
}
